/*****************************************************************
*
*	Netcare Agent Project
*		Copyright(C) 2010, Wicresoft EKA. All Rights Reserved.
*
*	Authors:
*		Miles Chen (milesch@wicresoft.com)
*		TingRong Shi (trshi@wicresoft.com)
*
*	Part of the product code depends on gSOAP under GPL license
*		Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
*
*****************************************************************/
#pragma once
#include <sstream>

#include "ns.h"

ALCATEL_SMS;

USING_STD;

class CLogListener /*abstract*/
{
public:
	CLogListener(void);
	virtual ~CLogListener(void);

	// Wide char is for Windows
	virtual void WriteLine(const char* level, const wchar_t* message) = 0 /*abstract*/;
	// Muli char is for Linux
	virtual void WriteLine(const char* level, const char* message) = 0 /*abstract*/;

protected:
	ostringstream _buffer;
};

ENDNS ENDNS